package com.bgrc.hubu12305.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bgrc.hubu12305.entity.SeatEntity;

import java.util.List;
import java.util.Map;

/**
 * 包名:com.bgrc.hubu12305.service
 * 用户:86182
 * 时间:2021121:092021/12/16
 */
public interface SeatService extends IService<SeatEntity> {
    /**
     * 通过车编号和座位等级查座位数
     * */
    Integer querySeatCountByType(String trainNo,Integer type);

    List<Map<String, Integer>> queryPrice(String trainNumber);

    List<Map<String, Object>> queryCarriages(String seatType, String trainNumber);
}
